package my.utils;

import java.util.List;

/**
 * @author 星环
 * @date 2022/11/13 15:00:37
 * @description
 */
public class ObjUtils {
    public static Object getFirstOrNull(List<?> list){
        if(list.size() == 0){
            return null;
        }
        return list.get(0);
    }
}
